package com.app.mapper;


import com.app.model.AppealModel;
import com.app.model.CategoryModel;
import com.app.model.FormModel;
import com.app.model.RoadModel;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
@Mapper
public interface FormMapper extends BaseMapper<FormModel> {

    List<FormModel> getBehindFormList(FormModel model);

    int getBehindFormCount(FormModel jobPublish);

    List<CategoryModel> selectTypeList();

    List<RoadModel> selectRoad();

    List<RoadModel> selectStreet(Integer id);

    List<RoadModel> get();

    List<FormModel> getSuperintendList(FormModel model);

    List<CategoryModel> selectTermList();

    List<AppealModel> getAppeal();

    AppealModel selectAppealById(Integer formId);

    int getCount(FormModel model);
}
